module.exports = {
    publicPath: process.env.NODE_ENV === 'production'
        ? '/web'
        : '/',
    outputDir:'dist/web',
    devServer: {
        port: 3000,
        overlay: {
            warnings: false,
            errors: true
        },
        proxy: {
            'api': {
                // target: 'http://flutter.max.svipss.top',
                target: 'http://127.0.0.1:9001',
                // target:'http://127.0.0.1:9110',
                // target:'http://wangxusheng.free.vipnps.vip',http://flutter.max.svipss.top
                changeOrigin: true,
                pathRewrite: {
                    'api': ''
                }
            },
        }
    },

}
